box.schema.user.info() | Tarantool

box.schema.user.info()

box.schema.user.info([user-name])

Return a description of a user’s privileges.

Parameters:
  • user-name (string) – the name of the user. This is optional; if it is not supplied, then the information will be for the user who is currently logged in.

Example:

tarantool> box.schema.user.info('admin')
---
- - - read,write,execute,session,usage,create,drop,alter,reference,trigger,insert,update,delete
    - universe
    -
...
Found what you were looking for?
Feedback